package com.homestay.beans;

import java.util.Date;

/**
 *
 * 评论表
 * @author ldh
 *
 */
public class CommentBean {

	// 评论表ID
	private Integer c_id;

	// 内容
	private String c_content;

	// 整洁卫生得分
	private Double c_sanitation;

	// 交通信息
	private Double c_traffic;

	// 设施环境
	private Double c_environment;

	// 房东服务
	private Double c_service;

	// 性价比
	private Integer c_costPerformance;

	// 评论时间
	private Date c_time;

	// 多对一，订单对用户
	private UserBean userBean;

	// 多对一，订单对房源信息
	private HouseInfoBean houseInfoBean;

	// 软删除
	private Integer flag;

	public Integer getC_id() {
		return c_id;
	}

	public void setC_id(Integer c_id) {
		this.c_id = c_id;
	}

	public String getC_content() {
		return c_content;
	}

	public void setC_content(String c_content) {
		this.c_content = c_content;
	}

	public Double getC_sanitation() {
		return c_sanitation;
	}

	public void setC_sanitation(Double c_sanitation) {
		this.c_sanitation = c_sanitation;
	}

	public Double getC_traffic() {
		return c_traffic;
	}

	public void setC_traffic(Double c_traffic) {
		this.c_traffic = c_traffic;
	}

	public Double getC_environment() {
		return c_environment;
	}

	public void setC_environment(Double c_environment) {
		this.c_environment = c_environment;
	}

	public Double getC_service() {
		return c_service;
	}

	public void setC_service(Double c_service) {
		this.c_service = c_service;
	}

	public Integer getC_costPerformance() {
		return c_costPerformance;
	}

	public void setC_costPerformance(Integer c_costPerformance) {
		this.c_costPerformance = c_costPerformance;
	}

	public void setC_time(Date c_time) {
		this.c_time = c_time;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public UserBean getUserBean() {
		return userBean;
	}

	public void setUserBean(UserBean userBean) {
		this.userBean = userBean;
	}

	public HouseInfoBean getHouseInfoBean() {
		return houseInfoBean;
	}

	public void setHouseInfoBean(HouseInfoBean houseInfoBean) {
		this.houseInfoBean = houseInfoBean;
	}

	public Date getC_time() {
		return c_time;
	}

	@Override
	public String toString() {
		return "CommentBean [c_id=" + c_id + ", c_content=" + c_content
				+ ", c_sanitation=" + c_sanitation + ", c_traffic=" + c_traffic
				+ ", c_environment=" + c_environment + ", c_service="
				+ c_service + ", c_costPerformance=" + c_costPerformance
				+ ", userBean=" + userBean + ", houseInfoBean=" + houseInfoBean
				+ ", c_time=" + c_time + ", flag=" + flag + "]";
	}

}
